package lexicalUnit;

import chalmersbot.Absyn.NumberRuleNumberDigitToken;
import chalmersbot.Absyn.NumberRuleNumberTextToken;
import chalmersbot.Absyn.NumberRule.Visitor;

public class CheckNumberRule implements Visitor<String, Environ> {

	@Override
	public String visit(NumberRuleNumberDigitToken p, Environ arg) {
		return p.numberdigittoken_;
	}

	@Override
	public String visit(NumberRuleNumberTextToken p, Environ arg) {
		return p.numbertexttoken_;
	}

}
